package com.demo.spring.beans.factory.config;

import com.demo.spring.beans.BeansException;

public interface BeanPostProcessor {

    // 初始化Bean前的自定义操作接口
    Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException;

    // 初始化Bean后的自定义操作接口
    Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException;

}
